// src/components/jotai-provider.tsx
'use client';

import React from 'react';
import {Provider} from "jotai"; // 状态管理

// 解决nextjs和jotai的bug
const JotaiProvider = ({children}: { children: React.ReactNode }) => {
    return (
        <Provider>
            {children}
        </Provider>
    );
};

export default JotaiProvider;